package com.panshi.modules.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panshi.modules.domain.UserCollect;
import com.panshi.vo.ItemQueryUserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserCollectMapper extends BaseMapper<UserCollect> {
    //查询个人收藏列表
    List<UserCollect> findUserCollectList(@Param("myPage") ItemQueryUserVo itemQueryVo);
    //统计个人收藏总数
    int selectCollectCount(Long id);
    //查询指定收藏ID的信息
    int selectUserCollectId(Long id);
}
